package com.hmall.cart;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "com.hmall.api")
@MapperScan("com.hmall.cart.mapper")
//scanBasePackages指定组件扫描的基础包路径
@SpringBootApplication(scanBasePackages ={ "com.hmall.cart","com.hmall.api"})
public class CartStartApp {
    public static void main(String[] args) {
        SpringApplication.run(CartStartApp.class, args);
    }
}
